<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="java.util.*"
		 import="edu.scu.declaresys.vo.*"
		 import="edu.scu.declaresys.config.*"
		 import="edu.scu.declaresys.web.util.*;"		
 %>
<%@ taglib uri = "http://displaytag.sf.net/el" prefix = "display" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>系统配置</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="css/tree.css" type="text/css"></link>
<link rel="stylesheet" href="css/settings.css" type="text/css"></link>

<link rel="stylesheet" href="css/comm.css" type="text/css"></link>


</head>
<body>
	<jsp:include page="/jsp/template/pageHead.jsp" />
	<div>系统配置--&gt;用户管理--&gt;管理新闻</div>
	<jsp:include page="/jsp/template/settingsGuide.jsp"></jsp:include>
	<div class="settingdetail">
		<div class="settingdetail_head">
			新闻列表
		</div>
		<div class="settingdetail_body">
			<display:table name ="<%=IAttrName.NEWS_LIST%>" 
				pagesize ="<%=Configs.NEW_AMT_PER_PAGE%>" 
				requestURI ="<%=IActionName.NEWS_MANAGE%>" 
				sort ="external" id ="row" 
				partialList ="true" 
				decorator="edu.scu.declaresys.web.util.DisplaytagWrapper" 
				size ="<%=IAttrName.NEWS_LIST_SIZE%>"
			 > 
			
				<display:column property ="<%=DisplaytagWrapper.NEWS_TITLE%>" title ="新闻标题"></display:column> 
				<display:column title ="新闻类别" ><%=((News)pageContext.getAttribute("row")).getNewsClass().getName()%></display:column>
				<display:column property ="<%=News.T_PUBLISH_TIME%>" title="发布时间"></display:column>
				<display:column property ="<%=DisplaytagWrapper.NEWS_OPERATION%>" title="操作"></display:column>
								
			</display:table> 
		</div>
	</div>
</body>
</html>